home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / aix-faq / part3 < prev   
Encoding:
Text File  |  1995-07-25  |  63.7 KB  |  1,769 lines

  1. Subject: AIX Frequently Asked Questions (Part 3 of 3)
  2. Newsgroups: comp.unix.aix,comp.answers,news.answers
  3. From: jwarring@amsinc.com (Jeff Warrington)
  4. Date: 14 Nov 1994 05:15:42 GMT
  5.  
  6. Archive-name: aix-faq/part3
  7. Last-modified: Nov 13, 1994
  8. Version: 3.70
  9.  
  10.  
  11. Version: $Id: faq.3,v 1.8 1994/10/13 03:46:35 jwarring Exp $
  12.  
  13. Frequently Asked Questions to AIX 3.x and IBM RS/6000
  14. _____________________________________________________
  15.  
  16. 2.03: Isn't the linker different from what I am used to?
  17.  
  18. Yes.  It is not at all like what you are used to:
  19.  
  20. - The order of objects and libraries is normally _not_ important.  The
  21.   linker reads _all_ objects including those from libraries into memory
  22.   and does the actual linking in one go.  Even if you need to put a
  23.   library of your own twice on the ld command line on other systems, it
  24.   is not needed on the RS/6000 - doing so will even make your linking slower.
  25.  
  26. - One of the features of the linker is that it will replace an object in
  27.   an executable with a new version of the same object:
  28.  
  29.   $ cc -o prog prog1.o prog2.o prog3.o        # make prog
  30.   $ cc -c prog2.c                # recompile prog2.c
  31.   $ cc -o prog.new prog2.o prog            # make prog.new from prog
  32.                         # by replacing prog2.o
  33.   
  34. - The standard C library /lib/libc.a is linked shared, which means that
  35.   the actual code is not linked into your program, but is loaded only
  36.   once and linked dynamically during loading of your program.
  37.  
  38. - The ld program actually calls the binder in /usr/lib/bind, and you can
  39.   give ld special options to get details about the invocation of the
  40.   binder.  These are found on the ld man page or in InfoExplorer.
  41.  
  42. - If your program normally links using a number of libraries (.a files),
  43.   you can 'prelink' each of these into an object, which will make your
  44.   final linking faster.  E.g. do:
  45.  
  46.   $ cc -c prog1.c prog2.c prog3.c
  47.   $ ar cv libprog.a prog1.o prog2.o prog3.o
  48.   $ ld -r -o libprog.o libprog.a
  49.   $ cc -o someprog someprog.c libprog.o
  50.  
  51. This will solve all internal references between prog1.o, prog2.o and
  52. prog3.o and save this in libprog.o Then using libprog.o to link your
  53. program instead of libprog.a will increase linking speed, and even if
  54. someprog.c only uses, say prog1.o and prog2.o, only those two modules
  55. will be in your final program.  This is also due to the fact that the
  56. binder can handle single objects inside one object module as noted above.
  57.  
  58. If you are using an -lprog option (for libprog.a) above, and still want
  59. to be able to do so, you should name the prelinked object with a
  60. standard library name, e.g. libprogP.a (P identifying a prelinked
  61. object), that can be specified by -lprogP.  You cannot use the archiver
  62. (ar) on such an object.
  63.  
  64. You should also have a look at section 3.01 of this article, in
  65. particular if you have mixed Fortran/C programs.
  66.  
  67. Dave Dennerline (dad@adonis.az05.bull.com) claims that his experiences
  68. in prelinking on AIX does not save much time since most people have
  69. separate libraries which do not have many dependencies between them,
  70. thus not many symbols to resolve.
  71.  
  72.  
  73. 2.04: How do I link my program with a non-shared /lib/libc.a?
  74.  
  75.   cc -o prog -bnoso -bI:/lib/syscalls.exp obj1.o obj2.o obj3.o
  76.  
  77. will do that for a program consisting of the three objects obj1.o, etc.
  78.  
  79. From: Marc Pawliger (marc@sti.com)
  80.  
  81. As of AIX 3.2.5, you can install a speedup for AIXwindows called
  82. Shared Memory Transport.  To static link an X application after the
  83. SMT PTF has been installed, you must link with
  84. -bI:/usr/lpp/X11/bin/smt.exp and the executable will NOT run on a
  85. machine where SMT is not installed.  See /usr/lpp/X11/README.SMT
  86.  
  87. 2.05: How do I make my own shared library?
  88.  
  89. To make your own shared object or library of shared objects, you should
  90. know that a shared object cannot have undefined symbols.  Thus, if your
  91. code uses any externals from /lib/libc.a, the latter MUST be linked with
  92. your code to make a shared object.  Mike Heath (mike@pencom.com) said it
  93. is possible to split code into more than one shared object when externals
  94. in one object refer to another one.  You must be very good at
  95. import/export files.  Perhaps he or someone can provide an example. 
  96.  
  97. Assume you have one file, sub1.c, containing a routine with no external
  98. references, and another one, sub2.c, calling stuff in /lib/libc.a.  You
  99. will also need two export files, sub1.exp, sub2.exp.  Read the example
  100. below together with the examples on the ld man page. 
  101.  
  102. ---- sub1.c ----
  103.     int addint(int a, int b)
  104.     {
  105.       return a + b;
  106.     }
  107. ---- sub2.c ----
  108.     #include <stdio.h>
  109.  
  110.     void printint(int a)
  111.     {
  112.       printf("The integer is: %d\n", a);
  113.     }
  114. ---- sub1.exp ----
  115.     #!
  116.     addint
  117. ---- sub2.exp ----
  118.     #!
  119.     printint
  120. ---- usesub.c ----
  121.     main()
  122.     {
  123.       printint( addint(5,8) );
  124.     }
  125.  
  126. The following commands will build your libshr.a, and compile/link the
  127. program usesub to use it.  Note that you need the ld option -lc for
  128. sub2shr.o since it calls printf from /lib/libc.a.
  129.  
  130.   $ cc  -c sub1.c
  131.   $ ld -o sub1shr.o sub1.o -bE:sub1.exp -bM:SRE -T512 -H512 
  132.   $ cc  -c sub2.c
  133.   $ ld -o sub2shr.o sub2.o -bE:sub2.exp -bM:SRE -T512 -H512  -lc
  134.   $ ar r libshr.a sub1shr.o sub2shr.o
  135.   $ cc -o usesub usesub.c -L: libshr.a
  136.   $ usesub
  137.   The integer is: 13
  138.   $
  139.  
  140.  
  141. 2.06: Linking my program fails with strange errors.  Why?
  142.  
  143. Very simple, the linker (actually called the binder), cannot get the
  144. memory it needs, either because your ulimits are too low or because you
  145. don't have sufficient paging space.  Since the linker is quite different
  146. >from normal Unix linkers and actually does much more than these, it also
  147. uses a lot of virtual memory.  It is not unusual to need 10000 pages (of
  148. 4k) or more to execute a fairly complex linking.
  149.  
  150. If you get 'BUMP error', either ulimits or paging is too low, if you get
  151. 'Binder killed by signal 9' your paging is too low.
  152.  
  153. First, check your memory and data ulimits; in korn shell 'ulimit -a' will
  154. show all limits and 'ulimit -m 99999' and 'ulimit -d 99999' will
  155. increase the maximum memory and data respectively to some high values. 
  156. If this was not your problem, you don't have enough paging space.
  157.  
  158. If you will or can not increase your paging space, you could try this:
  159.  
  160. - Do you duplicate libraries on the ld command line? That is never
  161.   necessary.
  162.  
  163. - Do more users link simultaneously? Try having only one linking going
  164.   on at any time.
  165.  
  166. - Do a partwise linking, i.e. you link some objects/libraries with the
  167.   -r option to allow the temporary output to have unresolved references,
  168.   then link with the rest of your objects/libraries.  This can be split
  169.   up as much as you want, and will make each step use less virtual memory.
  170.  
  171.   If you follow this scheme, only adding one object or archive at a
  172.   time, you will actually emulate the behavior of other Unix linkers.
  173.  
  174. If you decide to add more paging space, you should consider adding a new
  175. paging space on a second hard disk, as opposed to just increasing the
  176. existing one.  Doing the latter could make you run out of free space on
  177. your first harddisk. It is more involved to shrink a paging space
  178. but easier to delete one.
  179.  
  180.  
  181. 2.07: What's with malloc()?
  182.  
  183. malloc() uses a late allocation algorithm based on 4.3 BSD's malloc()
  184. for speed.  This lets you allocate very large sparse memory spaces,
  185. since the pages are not actually allocated until they are touched for
  186. the first time.  Unfortunately, it doesn't die gracefully in the face of
  187. loss of available memory.  See the "Paging Space Overview" under
  188. InfoExplorer, and see the notes on the linker in this document for an
  189. example of an ungraceful death.
  190.  
  191. If you want your program to get notified when running out of memory, you
  192. should handle the SIGDANGER signal.  The default is to ignore it. 
  193. SIGDANGER is sent to all processes when paging space gets low, and if
  194. paging space gets even lower, processes with the highest paging space
  195. usage are sent the SIGKILL signal.
  196.  
  197. malloc() is substantially different in 3.2, allocating memory more
  198. tightly.  If you have problems running re-compiled programs on 3.2,
  199. try running them with MALLOCTYPE=3.1.
  200.  
  201. Early Page Space Allocation (EPSA) added to AIX 3.2: see
  202. /usr/lpp/bos/README.PSALLOC - IX38211 / U422496 Allows setting of
  203. early allocation (vs. default late allocation) on a per-process basis.
  204.  
  205. 2.08: Why does xlc complain about 'extern char *strcpy()'
  206.  
  207. The header <string.h> has a strcpy macro that expands strcpy(x,y) to
  208. __strcpy(x,y), and the latter is then used by the compiler to generate
  209. inline code for strcpy.  Because of the macro, your extern declaration
  210. contains an invalid macro expansion.  The real cure is to remove your
  211. extern declaration but adding -U__STR__ to your xlc will also do the trick.
  212.  
  213.  
  214. 2.09: Why do I get 'Parameter list cannot contain fewer ....'
  215.  
  216. This is the same as above.
  217.  
  218.  
  219. 2.10: Why does xlc complain about '(sometype *)somepointer = something'
  220.  
  221. Software that is developed using gcc may have this construct. However,
  222. standard C does not permit casts to be lvalues, so you will need to
  223. change the cast and move it to the right side of the assignment. If you
  224. compile with 'cc', removing the cast completely will give you a warning,
  225. 'xlc' will give you an error (provided somepointer and something are of
  226. different types - but else, why would the cast be there in the first place?)
  227.  
  228.  
  229. 2.11: Some more common errors
  230.  
  231. Here are a few other common errors with xlc:
  232.  
  233. 305 |     switch((((np)->navigation_type) ? (*((np)->navigation_type)) :
  234.       ((void *)0)))
  235.       .a...........  
  236. a - 1506-226: (S) The second and third operands of the conditional
  237. operator must be of the same type.
  238.  
  239. The reason for this is that xlc defines NULL as (void *)0, and it does
  240. not allow two different types as the second and third operand of ?:. 
  241. The second argument above is not a pointer and the code used NULL
  242. incorrectly as a scalar. NULL is a nil pointer constant in ANSI C and
  243. in some traditional compilers.
  244.  
  245. You should change NULL in the third argument above to an integer 0.
  246.  
  247.  
  248. 2.12: Can the compiler generate assembler code?
  249.  
  250. Starting with version 1.3 of xlc and xlf the -S option will generate a
  251. .s assembly code file prior to optimization. The option -qlist will
  252. generate a human readable one in a .lst file.
  253.  
  254. There is also a disassembler in /usr/lpp/xlc/bin/dis include with the
  255. 1.3 version of xlc (and in /usr/lpp/xlC/bin/dis with the 2.1 version
  256. of xlC) that will disassemble existing object or executable files.
  257.  
  258.  
  259. 2.13: Curses
  260.  
  261. Curses based applications should be linked with -lcurses and _not_ with
  262. -ltermlib. It has also been reported that some problems with curses are
  263. avoided if your application is compiled with -DNLS.
  264.  
  265. Peter Jeffe <peter@ski.austin.ibm.com> also notes:
  266.  
  267. >the escape sequences for cursor and function keys are *sometimes*
  268. >treated as several characters: eg. the getch() - call does not return
  269. >KEY_UP but 'ESC [ C.'
  270.  
  271. You're correct in your analysis: this has to do with the timing of the
  272. escape sequence as it arrives from the net. There is an environment
  273. variable called ESCDELAY that can change the fudge factor used to decide
  274. when an escape is just an escape. The default value is 500; boosting
  275. this a bit should solve your problems.
  276.  
  277. Christopher Carlyle O'Callaghan <asdfjkl@wam.umd.edu> has more comments
  278. concerning extended curses:
  279.  
  280. 1) The sample program in User Interface Programming Concepts, page 7-13
  281.    is WRONG. Here is the correct use of panes and panels.
  282.  
  283. #include <cur01.h>
  284. #include <cur05.h>
  285.  
  286. main()
  287. {
  288. PANE *A, *B, *C, *D, *E, *F, *G, *H;
  289. PANEL *P;
  290.  
  291. initscr();
  292.  
  293. A = ecbpns (24, 79, NULL, NULL, 0, 2500, Pdivszp, Pbordry, NULL, NULL);
  294. D = ecbpns (24, 79, NULL, NULL, 0, 0,    Pdivszf, Pbordry, NULL, NULL);
  295. E = ecbpns (24, 79, D,    NULL, 0, 0,    Pdivszf, Pbordry, NULL, NULL);
  296. B = ecbpns (24, 79, A, D, Pdivtyh, 3000, Pdivszp, Pbordry, NULL, NULL);
  297. F = ecbpns (24, 79, NULL, NULL, 0, 0,    Pdivszf, Pbordry, NULL, NULL);
  298. G = ecbpns (24, 79, F,    NULL, 0, 5000, Pdivszp, Pbordry, NULL, NULL);
  299. H = ecbpns (24, 79, G,    NULL, 0, 3000, Pdivszp, Pbordry, NULL, NULL);
  300. C = ecbpns (24, 79, B, F, Pdivtyh, 0, Pdivszf, Pbordry, NULL, NULL);
  301. P = ecbpls (24, 79, 0, 0, "MAIN PANEL", Pdivtyv, Pbordry, A);
  302.  
  303. ecdvpl (P);
  304. ecdfpl (P, FALSE);
  305. ecshpl (P); 
  306. ecrfpl (P);
  307. endwin();
  308. }
  309.  
  310. 2) DO NOT include <curses.h> and any other <cur0x.h> file together.
  311.    You will get a bunch of redefined statements.
  312.  
  313. 3) There is CURSES and EXTENDED CURSES. Use only one or the other. If the
  314.    manual says that they're backwards compatible or some other indication 
  315.    that you can use CURSES routines with EXTENDED, don't believe it. To 
  316.    use CURSES you need to include <curses.h> and you can't (see above).
  317.  
  318. 4) If you use -lcur and -lcurses in the same link command, you will get
  319.    Memory fault (core dump) error. You CANNOT use both of them at the same
  320.    time. -lcur is for extended curses, -lcurses is for regular curses.
  321.  
  322. 5) When creating PANEs, when you supply a value (other than 0) for the
  323.    'ds' parameter and use Pdivszf value for the 'du' parameter, the 'ds'
  324.    will be ignored (the sample program on page 7-13 in User Interface
  325.    Programming Concepts is wrong.) For reasons as yet undetermined,
  326.    Pdivszc doesn't seem to work (or at least I can't figure out how to
  327.    use it.)
  328.  
  329. 6) If you're running into bugs and can't figure out what is happening,
  330.    try the following:
  331.    include -qextchk -g in your compile line
  332.     -qextchk will check to make sure you're passing the right number of
  333.        parameters to the functions
  334.     -g enables debug
  335.  
  336. 7) Do not use 80 as the number of columns if you want to use the whole
  337.    screen. The lower right corner will get erased.  Use 79 instead.
  338.  
  339. 8) If you create a panel, you must create at least 1 pane, otherwise you
  340.    will get a Memory fault (core dump).
  341.  
  342. 9) When creating a panel, if you don't have a border around it, any title
  343.    you want will not show up.
  344.  
  345. 10) to make the screen scroll down:
  346.     wmove (win, 0, 0);
  347.     winsertln (win)
  348.  
  349. 11) delwin(win) doesn't work in EXTENDED WINDOWS
  350.  
  351.     To make it appear as if a window is deleted, you need to do the following:
  352.     for every window that you want to appear on the screen
  353.     touchwin(win)
  354.     wrefresh(win)
  355.  
  356.     you must make sure that you do it in the exact same order as you put
  357.     them on the screen (i.e., if you called newwin with A, then C, then B,
  358.     then you must do the loop with A, then C, then B, otherwise you won't
  359.     get the same screen back).  The best thing to do is to put them into
  360.     an array and keep track of the last window index.
  361.  
  362. 12) mvwin(win, line, col) implies that it is only used for viewports and
  363.     subwindows. It can also be used for the actual windows themselves.
  364.  
  365. 13) If you specify the attribute of a window using wcolorout(win), any
  366.     subsequent calls to chgat(numchars, mode) or any of its relatives
  367.     will not work. (or at least they get very picky.)
  368.  
  369.  
  370. 2.14: How do I speed up linking
  371.  
  372. Please refer to sections 2.03 and 2.06 above.
  373.  
  374. From: losecco@undpdk.hep.nd.edu (John LoSecco) and
  375.       hook@chaco.aix.dfw.ibm.com (Gary R. Hook)
  376.  
  377. >From oahu.cern.ch in /pub/aix3 you can get a wrapper for the existing
  378. linker called tld which can reduce link times with large libraries by
  379. factors of 3 to 4.
  380.  
  381.  
  382. 2.15: What is deadbeef?
  383.  
  384. When running the debugger (dbx), you may have wondered what the
  385. 'deadbeef' is you occasionally see in registers.  Do note, that
  386. 0xdeadbeef is a hexadecimal number that also happens to be some kind
  387. of word (the RS/6000 was built in Texas!), and this hexadecimal number
  388. is simply put into unused registers at some time, probably during
  389. program startup.
  390.  
  391.  
  392. 2.16: How do I statically link in 3.2?
  393.  
  394. xlc -bnso -bI:/lib/syscalls.exp -liconv -bnodelcsect 
  395.  
  396.  
  397. 2.17: How do I make an export list from a library archive?
  398. From: dad@adonis.az05.bull.com (Dave Dennerline)
  399.  
  400. This script will only extract the "export"able names and should be
  401. useful in starting the shared library creation process. The user must
  402. determine which names should be included in the import and export lists.
  403. It's only been tested on a few library archives.
  404.  
  405. #!/bin/ksh
  406. #
  407. # mkexps - make export list
  408. # This program creates an export list by combining all the "." and normal names
  409. # into one list. 
  410. #
  411. if [[ "$#" -ne 1 ]]
  412. then
  413.     print "Usage: mkexps ArchiveFile"
  414.     exit -2
  415. fi
  416. if [[ ! -f $1 ]] 
  417. then
  418.     print "mkexps: Cannot open file \"$1\""
  419.     exit -1
  420. fi
  421. dump -g $1 | awk '
  422. BEGIN {
  423.         top = 1
  424. }    
  425. /^[ ]*[0-9][0-9]*/ {
  426.     if ( (n = index( $2, "." )) > 0 ) {
  427.         export_array[ top++ ] = substr( $2, n+1, length( $2 ))
  428.     }
  429.     else {
  430.     export_array[ top++ ] = $2
  431.     }
  432. }
  433.  
  434. END {
  435.     for ( i = 1; i < top; i++ )
  436.     {
  437.     print export_array[ i ]
  438.     }
  439.  
  440. }' | sort | uniq
  441.  
  442.  
  443. 2.18 Building imake, makedepend
  444. From: crow@austin.ibm.com (David L. Crow)
  445.  
  446.     You need X11dev.src release 1.2.3.0 (ie the R5 release).  
  447.      Unless you have an R5 release of AIXwindows, there is no xmkmf.
  448.   These are the steps that I use to make imake, makedepend and all
  449.   of it's config files, and then install them in the working tree
  450.   (ie not the Xamples) for daily use:
  451.   
  452.       cd /usr/lpp/X11/Xamples
  453.       make Makefile
  454.       make SUBDIRS="config util" Makefiles
  455.       make SUBDIRS="config util" linklibs
  456.       make SUBDIRS="config util" depend
  457.       make SUBDIRS="config util" 
  458.       make SUBDIRS="config util" install
  459.       
  460.   Then redo the steps everytime you apply an X11 update.
  461.  
  462.  
  463. 2.19: How can tell what shared libraries a binary is linked with?
  464.  
  465. Use "dump -H <execfilename>" and see if anything other than /unix is
  466. listed in the loader section (at the bottom).  The first example is
  467. /bin/sh (statically linked) and the second example is
  468. /usr/local/bin/bash (shared).
  469.  
  470. INDEX  PATH                          BASE                MEMBER              
  471. 0      /usr/lib:/lib                                                         
  472. 1      /                             unix                                    
  473.  
  474. INDEX  PATH                          BASE                MEMBER              
  475. 0      ./lib/readline/:./lib/glob/:/usr/lib:/lib               
  476. 1                                    libc.a              shr.o               
  477. 2                                    libcurses.a         shr.o               
  478.  
  479. _____________________________________________________
  480. 3.00: Fortran and other compilers
  481.  
  482. This section covers all compilers other than C/C++.  On Fortran, there
  483. seem to have been some problems with floating point handling, in
  484. particular floating exceptions.
  485.  
  486.  
  487. 3.01: I have problems mixing Fortran and C code, why?
  488.  
  489. A few routines (such as getenv, signal, and system) exist in both the
  490. Fortran and C libraries but with different parameters. In the recent
  491. past, if you have a mixed program that calls getenv from both C and
  492. Fortran code, you have to link them carefully by specifying the correct
  493. library first on your command line. This is no longer needed starting
  494. with version 1.5 of the compilers.
  495.  
  496.  
  497. 3.02: How do I statically bind Fortran libraries and dynamically
  498.       bind C libraries?
  499. From: amaranth@vela.acs.oakland.edu (Paul Amaranth)
  500.  
  501. [ Editor's note: Part of this is also discussed above under the C compiler
  502.   section, but I felt it was so valuable that I have left it all in. 
  503.   I've done some minor editing, mostly typographical. ]
  504.  
  505. The linker and binder are rather versatile programs, but it is not
  506. always clear how to make them do what you want them to.  In particular,
  507. there are times when you do not want to use shared libraries, but
  508. rather, staticly bind the required routines into your object.  Or, you
  509. may need to use two versions of the same routine (eg, Fortran & C).  Here
  510. are the results of my recent experiments.  I would like to thank Daniel
  511. Premer and Brad Hollowbush, my SE, for hints.  Any mistakes or omissions
  512. are my own and I have tended to interchange the terms "linker" and
  513. "binder".  These experiments were performed on AIX 3.1.2.  Most of this
  514. should be applicable to later upgrades of 3.1.
  515.  
  516. 1)  I have some C programs, I want to bind in the runtime routines.  How
  517.     do I do this? [Mentioned in section 2.04 of this article as well, ed.]
  518.  
  519.     You can put the -bnso binder command on the link line.  You should
  520.     also include the -bI:/lib/syscalls.exp control argument:
  521.       
  522.       $ cc *.o -bnso -bI:/lib/syscalls.exp -o foo
  523.  
  524.     This will magically do everything you need.  Note that this will bind
  525.     _all_ required routines in.  The -bI argument tells the linker that
  526.     these entry points will be resolved dynamically at runtime (these are
  527.     system calls).  If you omit this you will get lots of unresolved 
  528.     reference messages.
  529.  
  530. 2)  I want to statically bind in the Fortran runtime so a) my customers 
  531.     do not need to buy it and b) I don't have to worry about the runtime
  532.     changing on a new release.  Can I use the two binder arguments in
  533.     1) to do this?
  534.  
  535.     You should be able to do so, but, at least under 3002, if you do
  536.     you will get a linker error referencing getenv.  In addition, there
  537.     are a number of potential conflicts between Fortran and C routines.
  538.     The easy way just does not work.  See the section on
  539.     2 stage linking for C and Fortran on how to do this.  The getenv
  540.     problem is a mess, see the section on Comments & Caveats for more.
  541.  
  542. 3)  I have a mixture of C and Fortran routines, how can I make sure
  543.     that the C routines reference the C getenv, while the Fortran routines
  544.     reference the Fortran getenv (which has different parameters and, if
  545.     called mistakenly by a C routine results in a segmentation fault)?
  546.  
  547.     From Mike Heath (mike@pencom.com):
  548.  
  549.     Use -brename:symbol1,symbol2 when pre-linking the modules from one
  550.     of the languages. It does not matter which one you choose.
  551.  
  552. 4)  I have C and Fortran routines.  I want to bind in the xlf library, while
  553.     letting the rest of the libraries be shared.  How do I do this?
  554.  
  555.     You need to do a 2 stage link.  In the first stage, you bind in the
  556.     xlf library routines, creating an intermediate object file.  The
  557.     second stage resolves the remaining references to the shared libraries.
  558.  
  559.     This is a general technique that allows you to bind in specific system
  560.     routines, while still referencing the standard shared libraries.
  561.  
  562.     Specifically, use this command to bind the xlf libraries to the Fortran
  563.     objects:
  564.  
  565.        $ ld -bh:4 -T512 -H512 <your objects> -o intermediat.o \
  566.          -bnso -bI:/lib/syscalls.exp -berok -lxlf -bexport:/usr/lib/libg.exp \
  567.          -lg -bexport:<your export file>
  568.  
  569.     The argument -bexport:<your export file> specifies a file with the
  570.     name of all entry points that are to be visible outside the intermediate 
  571.     module.  Put one entrypoint name on a line.  The -bI:/lib/libg.exp line 
  572.     is required for proper functioning of the program.  The -berok argument 
  573.     tells the binder that it is ok to have unresolved references, at least 
  574.     at this time (you would think -r would work here, but it doesn't seem to).  
  575.     The -bnso argument causes the required modules to be imported
  576.     into the object.  The -lxlf, of course, is the xlf library.
  577.  
  578.     Then, bind the intermediate object with the other shared libraries in
  579.     the normal fashion:
  580.  
  581.        $ ld -bh:4 -T512 -H512 <C or other modules> intermediate.o \
  582.          /lib/crt0.o -lm -lc
  583.  
  584.     Note the absence of -berok.  After this link, all references should
  585.     be resolved (unless you're doing a multistage link and making another
  586.     intermediate).
  587.  
  588.     NOTE THE ORDER OF MODULES.  This is extremely important if, for example,
  589.     you had a subroutine named "load" in your Fortran stuff.  Putting the
  590.     C libraries before the intermediate module would make the C "load"
  591.     the operable definition, rather than the Fortran version EVEN THOUGH 
  592.     THE FORTRAN MODULE HAS ALREADY BEEN THROUGH A LINK AND ALL REFERENCES 
  593.     TO THE SYMBOL ARE CONTAINED IN THE FORTRAN MODULE.  This can
  594.     be extremely difficult to find (trust me on this one :-)  Is this
  595.     a bug, a feature, or what?
  596.     
  597.     [As mentioned in section 2.03 of this article, it is a feature that you
  598.     can replace individual objects in linked files, ed.]
  599.  
  600.     The result will be a slightly larger object than normal.  (I say slightly
  601.     because mine went up 5%, but then it's a 2 MB object :-)
  602.  
  603.  
  604. Comments & Caveats:
  605.  
  606.    From the documentation the -r argument to the linker should do what
  607.    -berok does.  It does not.  Very strange results come from using the
  608.    -r argument.  I have not been able to make -r work in a sensible manner
  609.    (even for intermediate links which is what it is supposed to be for).
  610.  
  611.        Note from Mike Heath (mike@pencom.com):
  612.  
  613.        'ld -r' is essentially shorthand for 'ld -berok -bnogc -bnoglink'.
  614.        Certainly, using -berok with an export file (so garbage collection
  615.        can be done) is preferable to ld -r, but the latter is easier.
  616.  
  617.    When binding an intermediate module, use an export file to define the
  618.    entry points you want visible in the later link.  If you don't do this,
  619.    you'll get the dreaded "unresolved reference" error.  Import files name
  620.    entry points that will be dynamically resolved (and possibly where).
  621.  
  622.    If you are in doubt about what parameters or libraries to link, use the
  623.    -v arg when linking and modify the exec call that shows up into 
  624.    an ld command.  Some thought about the libraries will usually yield an
  625.    idea of when to use what.  If you don't know what an argument is for,
  626.    leave it in.  It's there for a purpose (even if you don't understand it).
  627.  
  628.    Watch the order of external definitions (ie, libraries) when more than
  629.    one version of a routine may show up, eg "load".  The first one defined
  630.    on the ld command line is the winner.  
  631.  
  632.    The getenv (and system and signal) problem is a problem that started out
  633.    minor, got somewhat worse in 3003 and, eventually will be correctly fixed.
  634.    Basically, you should extract the 3002 version of these three routines
  635.    from xlf.a before doing the update and save them away, then link these
  636.    routines in if you use these Fortran system services.  
  637.  
  638.  
  639. 3.03: How do I check if a number is NaN?
  640. From: sdl@glasnost.austin.ibm.com (Stephen Linam)
  641.  
  642. NaN is "Not a Number".  It arises because the RISC System/6000 uses
  643. IEEE floating point arithmetic.
  644.  
  645. To determine if a variable is a NaN you can make use of the property
  646. that a NaN does not compare equal to anything, including itself.
  647. Thus, for real variable X, use
  648.  
  649.     IF (X .NE. X) THEN    ! this will be true if X is NaN
  650.  
  651. Floating point operations which cause exceptions (such as an overflow)
  652. cause status bits to be set in the Floating Point Status and Control
  653. Register (FPSCR).  There is a Fortran interface to query the FPSCR, and
  654. it is described in the XLF Fortran manuals -- I don't have the manuals
  655. right here, but look for FPGETS and FPSETS.
  656.  
  657. The IBM manual "Risc System/6000 Hardware Technical Reference - General
  658. Information" (SA23-2643) describes what floating point exceptions can
  659. occur and which bits are set in the FPSCR as a result of those exceptions.
  660.  
  661.  
  662. 3.04: Some info sources on IEEE floating point
  663.  
  664. 1. ANSI/IEEE STD 754-1985 (IEEE Standard for Binary Floating-Point
  665.    Arithmetic) and ANSI/IEEE STD 854-1987 (IEEE Standard for
  666.    Radix-Independent Floating-Point Arithmetic), both available from IEEE. 
  667.  
  668. 2. David Goldberg, "What Every Computer Scientist Should Know About
  669.    Floating-Point Arithmetic", ACM Computing Surveys, Vol. 23, No. 1,
  670.    March 1991, pp. 5-48.
  671.  
  672. ____________________________________________________________________________
  673. 4.00: GNU and Public Domain software
  674.  
  675. GNU software comes from the Free Software Foundation and various other
  676. sources. A number of ftp sites archive them. Read the GNU license for 
  677. rules on distributing their software.
  678.  
  679. Lots of useful public domain software have been and continue to be ported
  680. to the RS/6000. See below for ftp or download information.
  681.  
  682.  
  683. 4.01: How do I find sources?
  684. From: jik@GZA.COM (Jonathan Kamens)
  685.  
  686. There is a newsgroup devoted to posting about how to get a certain
  687. source.  One is strongly urged to follow the guidelines in the article
  688. How_to_find_sources(READ_THIS_BEFORE_POSTING), available via anonymous
  689. ftp from rtfm.mit.edu
  690.  
  691. /pub/usenet/comp.sources.wanted/H_t_f_s_(R_T_B_P)
  692.  
  693. Note: You should try to use hostnames rather than ip addresses since
  694. they are much less likely to change.
  695.  
  696. Also available from mail-server@rtfm.mit.edu by sending a mail
  697. message containing:
  698.  
  699. send usenet/comp.sources.wanted/H_t_f_s_(R_T_B_P)
  700.  
  701. Send a message containing "help" to get general information about the
  702. mail server.
  703.  
  704. If you don't find what you were looking for by following these
  705. guidelines, you can post a message to comp.sources.wanted.
  706.  
  707.  
  708. 4.02: Are there any ftp sites?
  709.  
  710. Below are some ftp sites that are supposed to have RS/6000 specific
  711. software.  I haven't verified all the entries.
  712.  
  713. US sites:
  714. aixpdslib.seas.ucla.edu        128.97.2.211    pub
  715. acd.ucar.edu                128.117.32.1     pub/AIX         
  716. acsc.acsc.com               143.127.0.2        pub
  717. byron.u.washington.edu      128.95.48.32    pub/aix/RS6000 (older stuff)
  718. lightning.gatech.edu        128.61.10.8        pub/aix
  719. tesla.ee.cornell.edu        128.84.253.11    pub
  720.  
  721. European sites:
  722. nic.funet.fi                128.214.6.100    pub/unix/AIX/RS6000
  723. iacrs1.unibe.ch             130.92.11.3        pub
  724. ftp.zrz.TU-Berlin.DE        130.149.4.50    pub/aix
  725. ftp-aix.polytechnique.fr    129.104.3.60    pub/binaries/rios
  726. ftp.uni-stuttgart.de        129.69.8.13         sw/rs_aix32/
  727.  
  728. The first one is dedicated to software running on AIX.  It might not
  729. always be the latest versions of the software, but it has been ported to
  730. AIX (normally AIX version 3 only).  Once connected, you should retrieve
  731. the files README and pub/ls-lR.
  732.  
  733. Please use the European sites very sparingly.  They are primarily to
  734. serve people in Europe and most of the software can be found in the US
  735. sites originally.
  736.  
  737. Host ibminet.awdpa.ibm.com
  738.     Location: pub/announcements   #IBM announcements
  739.     Location: pub/oemhw           #oem hardware
  740.     Location: pub/ptfs            #PTFs
  741.  
  742. Host cac.toronto.ibm.com
  743.     Location: marketing-info
  744.  
  745. >From David Edelsohn (c1dje@watson.ibm.com):
  746. Host aixpdslib.seas.ucla.edu
  747.     Location: ?                   #AIX archive (sources and binaries)
  748. Host ftp.egr.duke.edu
  749.     Location: ?                   #AIX archive
  750. Host straylight.acs.ncsu.edu
  751.     Location: ?                   #AIX archive
  752. Host alpha.gnu.ai.mit.edu
  753.     Location: /rs6000          #AIX archive
  754. Host ftp.uni-stuttgart.de
  755.     Location: /sw/rs_aix32
  756.  
  757. >From Frank E. Doss (csfed@ux1.cts.eiu.edu):
  758. Host iacrs2.unibe.ch
  759.     Location: /pub/aix            #bunch of goodies)
  760. Host ftp.u.washington.edu
  761.     Location: /pub/RS6000         #minimal -- ted)
  762. Host aixive.unb.ca
  763.     Location: ?                   #just announced -- new archive)
  764. Host ftp.ans.net
  765.     Location: /pub/misc           #wais goodies)
  766. Host uvaarpa.virginia.edu
  767.     Location: /pub/misc           #minimal -- whois)
  768. Host ux1.cts.eiu.edu
  769.     Location: /pub/rs6000         #minimal -- pop3, FAQ, whois)
  770.  
  771. >From Robert MacKinnon (robmack@bsc.no):
  772. Host ftp.bsc.no
  773.     Location: pub/Src.
  774.  
  775. >From Joel Marchand (jma@ariana.polytechnique.fr):
  776. Host ftp-aix.polytechnique.fr (129.104.3.60)
  777.     Location: pub/binaries/rios
  778.  
  779.  
  780. Sites with directories named 'aix':
  781.  
  782. Host aix1.segi.ulg.ac.be   (139.165.32.13)
  783.     Location: /pub/aix
  784.  
  785. Host byron.u.washington.edu   (128.95.48.32)
  786.    Location: /pub/aix
  787.  
  788. Host cunixf.cc.columbia.edu   (128.59.40.130)
  789.     Location: /aix
  790.  
  791. Host files1zrz.zrz.tu-berlin.de   (130.149.4.50)
  792.     Location: /pub/aix
  793.  
  794. Host ftp.rz.uni-augsburg.de   (137.250.113.20)
  795.     Location: /pub/aix
  796.  
  797. Host fyvie.cs.wisc.edu   (128.105.8.18)
  798.     Location: /pub/aix
  799.  
  800. Host solaria.cc.gatech.edu   (130.207.7.245)
  801.     Location: /pub/incoming/aix
  802.     Location: /pub/aix
  803.  
  804. Host spot.colorado.edu   (128.138.129.2)
  805.     Location: /aix
  806.     Location: /pub/patches/aix
  807.  
  808. Host swdsrv.edvz.univie.ac.at   (131.130.1.4)
  809.     Location: /unix/systems/aix
  810.  
  811. Host switek.uni-muenster.de   (128.176.120.210)
  812.     Location: /pub/aix
  813.  
  814. Host wuarchive.wustl.edu   (128.252.135.4)
  815.     Location: /systems/aix
  816.  
  817.  
  818. Sites with directories named 'AIX':
  819.  
  820. Host cs.nyu.edu   (128.122.140.24)
  821.     Location: /pub/AIX
  822.  
  823. Host karazm.math.uh.edu   (129.7.128.1)
  824.     Location: /pub/AIX
  825.  
  826. Host minnie.zdv.uni-mainz.de   (134.93.178.128)
  827.     Location: /pub0/pub/AIX
  828.  
  829. Host oersted.ltf.dth.dk   (129.142.66.16)
  830.     Location: /pub/AIX
  831.  
  832. Host rs3.hrz.th-darmstadt.de   (130.83.55.75)
  833.     Location: /pub/incoming/AIX
  834.  
  835.  
  836. Sites with directories named 'rs6000':
  837.  
  838. Host aeneas.mit.edu   (18.71.0.38)
  839.     Location: /pub/rs6000
  840.  
  841. Host cameron.egr.duke.edu   (128.109.156.10)
  842.     Location: /rs6000
  843.  
  844. Host ifi.informatik.uni-stuttgart.de   (129.69.211.1)
  845.     Location: /pub/rs6000
  846.  
  847. Host metropolis.super.org   (192.31.192.4)
  848.     Location: /pub/rs6000
  849.  
  850. Host ramses.cs.cornell.edu   (128.84.218.75)
  851.     Location: /pub/rs6000
  852.  
  853. Host server.uga.edu   (128.192.1.9)
  854.     Location: /pub/rs6000
  855.  
  856. Host unidata.ucar.edu   (128.117.140.3)
  857.     Location: /pub/bin/rs6000
  858.  
  859. Host uvaarpa.virginia.edu   (128.143.2.7)
  860.     Location: /pub/rs6000
  861.  
  862. Host wayback.cs.cornell.edu   (128.84.254.7)
  863.     Location: /pub/rs6000
  864.  
  865.  
  866. Sites with directories named 'RS6000':
  867.  
  868. Host alice.fmi.uni-passau.de   (132.231.1.180)
  869.     Location: /pub/RS6000
  870.  
  871. Host byron.u.washington.edu   (128.95.48.32)
  872.     Location: /pub/aix/RS6000
  873.  
  874. Host milton.u.washington.edu   (128.95.136.1)
  875.     Location: /pub/RS6000
  876.  
  877. Host pascal.math.yale.edu   (128.36.23.1)
  878.     Location: /pub/RS6000
  879.  
  880. Host uxc.cso.uiuc.edu   (128.174.5.50)
  881.     Location: /pub/RS6000
  882.  
  883.  
  884. 4.03: General hints
  885.  
  886. In general, curses based applications should be linked with -lcurses and
  887. _not_ with -ltermlib.  It has also been reported that compiling with
  888. -DNLS helps curses based programs.
  889.  
  890. Note that the RS/6000 has two install programs, one with System V flavor
  891. in the default PATH (/etc/install with links from /usr/bin and /usr/usg),
  892. and one with BSD behavior in /usr/ucb/install.
  893.  
  894. When adding new shells to the system, add them to the "shells=" line
  895. in /etc/security/login.cfg so they can be used during ftp and rlogin
  896. by users who use them as their default shell.
  897.  
  898.  
  899. 4.04: GNU Emacs
  900.  
  901. If you get a segmentation fault in GNU EMACS 19.* during hilit19 use,
  902. you can set locale to C (export LC_ALL=C) to get around the AIX bug.
  903.  
  904. Version 18.57 of GNU Emacs started to have RS/6000 support.  Use
  905. s-aix3-2.h for AIX 3.2. Emacs is going through rapid changes recently.
  906. Current release is 19.x.
  907.  
  908. Emacs will core-dump if it is stripped, so don't strip when you install
  909. it.  You can edit a copy of the Makefile in src replacing all 'install -s' 
  910. with /usr/ucb/install.
  911.  
  912.  
  913. 4.05: gcc/gdb
  914.  
  915. GNU C version 2.0 and later supports the RS/6000, and compiles straight
  916. out of the box.  You may, however, experience that compiling it requires
  917. large amounts of paging space.
  918.  
  919. Compiling gcc and gdb requires a patch to the 'as' assembler.  Call
  920. IBM software support and request patch for apar IX26107 (U409205).
  921.  
  922. gcc has undergone many changes lately and the current version is 2.5.x.
  923. gdb is at 4.1x.
  924.  
  925. If your machine crashed when trying to run gdb 4.7, call software support
  926. and request ptf U412815.
  927.  
  928.  
  929. 4.06: GNU Ghostscript 
  930.  
  931. The PostScript interpreter GNU Ghostscript Version 2.3 and later supports
  932. the RS/6000 and can be found on various ftp sites. Current version is 2.6.1.
  933.  
  934. Compile time problems:
  935.   Compile idict.c and zstack.c _without_ optimization, add the following
  936.   to the Makefile:
  937.  
  938.   idict.o: idict.c
  939.         $(CC) -c idict.c
  940.  
  941.   zstack.o: zstack.c
  942.         $(CC) -c zstack.c
  943.  
  944. Run time problems:
  945.   Running ghostview-1.5 with ghostscript-2.6.1, I get 
  946.    gs: Malformed ghostview color property.
  947.   Solution: replace buggy version of ghostscript-2.6.1 X11 driver
  948.   with at least 2.6.1pl4 
  949.  
  950. 4.07: TeX
  951.  
  952. TeX can be retrieved via ftp from ftp.uni-stuttgart.de.
  953. Be sure to use a recent C compiler (01.02.0000.0013) and you can compile
  954. with optimization.
  955.  
  956.  
  957. 4.08: perl
  958.  
  959. Current version is 4.035 and compiling with cc should give no problems. 
  960. If you use bsdcc, do not use perl's builtin malloc(), edit config.H to
  961. '#define HAS_SYMLINK', and you should be on your way.  Bill Wohler tells
  962. me that perl will run without editing config.H and with cc as well.  So
  963. just say no to use perl's malloc().
  964.  
  965. Doug Sewell <DOUG@YSUB.YSU.EDU> adds:
  966.  
  967. In addition to not using the perl-provided malloc, when asked if you
  968. want to edit config.sh, change 'cppstdin' from the wrapper-program
  969. to '/lib/cpp'.
  970.  
  971. The perl wrapper name is compiled into perl, and requires that you keep
  972. that file in the source directory, even if you blow away the rest of
  973. the source.  /lib/cpp will do the job by itself.  I suspect this will
  974. be fixed in perl 4.0pl11 Configure script.
  975.  
  976. Also, beware if you have gdbm installed per the instructions in the FAQ.
  977. Gdbm is compiled with bsdcc; perl (as I installed it, anyway) was built
  978. with cc, so I used the IBM-provided ndbm routines.
  979.  
  980.  
  981. 4.09: X-Windows
  982.  
  983. IBM has two releases of 3.2.3. The base version has X11R4 and Motif 1.1
  984. and the extended version has X11R5 as AIXwindows 1.2.3.
  985.  
  986. AIXwindows version 1.2.0 (X11rte 1.2.0) is X11R4 with Motif 1.1
  987. AIXwindows version 1.2.3 (X11rte 1.2.3) is X11R5 with Motif 1.1
  988. X11rte.motif1.2 1.2.3 is Motif 1.2 and requires AIXwindows 1.2.3
  989.  
  990.  
  991. 4.10: bash
  992.  
  993. Bash is ported and has some patches on prep.ai.mit.edu. The current
  994. version is 1.13.x and seems to work fine.
  995.  
  996.  
  997. 4.11: Elm
  998.  
  999. A very nice replacement for mail. Elm should be pretty straightforward,
  1000. the only thing to remember is to link with -lcurses as the only
  1001. curses/termlib library. You may also run into the problem listed under
  1002. point 2.13 above.
  1003.  
  1004.  
  1005. 4.12: Oberon 2.2
  1006.  
  1007. From: afx@muc.ibm.de (Andreas Siegert)
  1008.  
  1009. Oberon is Wirth's follow on to Modula-2, but is not compatible. A free
  1010. version of Modula-3 is available from DEC/Olivetti at
  1011. gatekeeper.dec.com. This is not a Modula-2 replacement but a new
  1012. language. There are currently two M2 compilers for the 6000 that I
  1013. know of. One from Edinburgh Portable Compilers, +44 31 225 6262 (UK)
  1014. and the other from Gardens Point is availible through A+L in
  1015. Switzerland (+41 65 520311) or Real Time Associates in the UK
  1016. (info@rtal.demon.co.uk).
  1017.  
  1018. Oberon can be obtained via anonymous ftp from neptune.inf.ethz.ch
  1019. (129.132.101.33) under the directory Oberon/RS6000 or gatekeeper.dec.com
  1020. (16.1.0.2).
  1021.  
  1022.  
  1023. 4.13: Kermit
  1024.  
  1025. Get it from watsun.cc.columbia.edu (128.59.39.2), kermit/bin/cku189.tar.Z.
  1026. Uncompress, untar, and "make rs6000", and it works.
  1027.  
  1028.  
  1029. 4.14: Gnu dbm
  1030. From: doug@cc.ysu.edu (Doug Sewell)
  1031.  
  1032. Here's the fixes for RS/6000's:
  1033.  
  1034. apply this to testgdbm.c:
  1035. 158c158
  1036. <   char opt;
  1037. ---
  1038. >   int opt;
  1039. 166c166
  1040. <   while ((opt = getopt (argc, argv, "rn")) != -1)
  1041. ---
  1042. >   while ((opt = getopt (argc, argv, "rn")) != EOF)
  1043.  
  1044. Apply this to systems.h:
  1045. 111a112,114
  1046. > #ifdef RS6000
  1047. > #pragma alloca
  1048. > #else
  1049. 112a116
  1050. > #endif
  1051.  
  1052. To compile, edit the Makefile.  Set CC to bsdcc (see /usr/lpp/bos/bsdport
  1053. if you don't have 'bsdcc' on your system) and set CFLAGS to -DRS6000 and
  1054. whatever options (-g, -O) you prefer.  Don't define SYSV.
  1055.  
  1056.  
  1057. 4.15: tcsh
  1058. From: cordes@athos.cs.ua.edu (David Cordes)
  1059.  
  1060. tcsh is available from tesla.ee.cornell.edu (pub/tcsh-6.00 directory)
  1061. Compiles with no problems. You must edit /etc/security/login.cfg to
  1062. permit users to change to this shell (chsh), adding the path where the
  1063. shell is installed (in my case, /usr/local/bin/tcsh).
  1064.  
  1065. From: "A. Bryan Curnutt" <bryan@Stoner.COM>
  1066.  
  1067. Under AIX 3.2.5, you need to modify the "config.h" file, changing
  1068.     #define BSDSIGS
  1069. to
  1070.     #undef BSDSIGS
  1071.  
  1072.  
  1073. 4.16: Kyoto Common Lisp
  1074.  
  1075. The sources are available from cli.com. The kcl package is the needed
  1076. base; also retrieve the latest akcl distribution. akcl provides a
  1077. front-end that "ports" the original kcl to a number of different
  1078. platforms. The port to the 6000 worked with no problems. However, you
  1079. must be root for make to work properly with some memory protection
  1080. routines.
  1081.  
  1082.  
  1083. 4.17: Tcl/Tk
  1084.  
  1085. Current versions: Tcl 7.3, Tk 3.6. Available from sprite.berkeley.edu or
  1086. harbor.ecn.purdue.edu.
  1087.  
  1088.  
  1089. 4.18: Expect
  1090. From: Doug Sewell <DOUG@YSUB.YSU.EDU>
  1091.    
  1092. To build the command-interpreter version, you must have the tcl library
  1093. built successfully. The expect library doesn't require tcl.  Note:
  1094. Expect and its library are built with bsdcc, so applications using
  1095. the library probably also need to be developed with bsdcc.
  1096.  
  1097. I ftp'd expect from ftp.cme.nist.gov.
  1098.  
  1099. You need to change several lines in the makefile.  First you need
  1100. to customize source and target directories and files:
  1101. #
  1102. TCLHDIR = /usr/include
  1103. TCLLIB = -ltcl
  1104. MANDIR = /usr/man/manl               (local man-pages)
  1105. MANEXT = l
  1106. BINDIR = /u/local/bin
  1107. LIBDIR = /usr/lib
  1108. HDIR = /usr/include
  1109. ...
  1110. Next set the compiler, switches, and configuration options:
  1111. #
  1112. CC = bsdcc
  1113. CFLAGS = -O
  1114. ...
  1115. PTY_TYPE = bsd
  1116. ...
  1117. INTERACT_TYPE = select
  1118. ...
  1119. Then you need to make these changes about line 90 or so:
  1120. comment out CFLAGS = $(CLFLAGS)
  1121. un-comment these lines:
  1122. CFLAGS = $(CLFLAGS) $(CPPFLAGS)
  1123. LFLAGS = ($CLFLAGS)
  1124.  
  1125. Then run 'make'.
  1126.  
  1127. You can't run some of the examples without modification (host name,
  1128. etc).  I don't remember if I ran all of them or not, but I ran enough
  1129. that I was satisfied it worked.
  1130.  
  1131.  
  1132. 4.19: Public domain software on CD
  1133. From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
  1134.  
  1135. The Prime Time Freeware CD collection is a package of two CD's and docs
  1136. containing over THREE GIGABYTES of compressed Unix software. It costs $69
  1137. >from Prime Time Freeware, 415-112 N. Mary Ave., Suite 50, Sunnyvale, CA
  1138. 94086. Phone 408-738-4832 voice, 408-738-2050 fax. No internet orders as
  1139. far as I can tell.
  1140.  
  1141. I've extracted and compiled a number of the packages, and all have worked
  1142. flawlessly so far on my 220. Everything from programming languages to 3D
  1143. solid modeling is in this bonanza!
  1144.  
  1145. Ed: The O'Reilly book, Unix Power Tools, also contains a CD-ROM with lots
  1146. of useful programs compiled for the RS/6000, among other platforms.
  1147.  
  1148.  
  1149. 4.20: Andrew Toolkit
  1150.  
  1151. From: Gary Keim <gk5g+@andrew.cmu.edu>
  1152.  
  1153. The Andrew Toolkit Consortium of Carnegie Mellon University's School of
  1154. Computer Science has released new versions of the Andrew User
  1155. Environment, Andrew Toolkit, and Andrew Message System.
  1156.  
  1157. The Andrew User Environment (AUE) is an integrated set of applications
  1158. beginning with a 'generic object' editor, ez, a help system, a system
  1159. monitoring tool (console), an editor-based shell interface (typescript),
  1160. and support for printing multi-media documents. 
  1161.  
  1162. The Andrew Toolkit (ATK) is a portable user-interface toolkit that runs
  1163. under X11. It provides a dynamically-loadable object-oriented
  1164. environment wherein objects can be embedded in one another. Thus, one
  1165. could edit text that, in addition to containing multiple fonts, contains
  1166. embedded raster images, spreadsheets, drawing editors, equations, simple
  1167. animations, etc. These embedded objects can also be nested.
  1168.  
  1169. The Andrew Message System (AMS) provides a multi-media interface to mail
  1170. and bulletin-boards. AMS supports several mail management strategies
  1171. and implements many advanced features including authentication, return
  1172. receipts, automatic sorting of mail, vote collection and tabulation,
  1173. enclosures, audit trails of related messages, and subscription
  1174. management. It has interfaces that support ttys, personal computers, 
  1175. and workstations.
  1176.  
  1177. Release 5.1 of Andrew contains many bug fixes and updates. There is now
  1178. support for the new Internet MIME (Multipurpose Internet Mail Extensions)
  1179. standards for multipart, and multimedia mail. For more information on
  1180. MIME, please see the CHANGES files in the ftp directory on
  1181. emsworth.andrew.cmu.edu.
  1182.  
  1183. This release can be obtained as follows. The sources are available via
  1184. anonymous ftp from export.lcs.mit.edu (18.30.0.238) in the
  1185. ./contrib/andrew tree. For details, see ./contrib/andrew/README.
  1186.  
  1187. PATCH for AIX3.2: A patch to the AUIS 5.1 sources can be ftp'ed from
  1188. emsworth.andrew.cmu.edu (128.2.45.40) in ./aixpatch. For those without
  1189. internet access, a 3.5" diskette can be ordered for a nominal fee of $10
  1190. by sending, or faxing, a purchase order to the Consortium address below.
  1191.  
  1192. Andrew, as well as a variety of other CMU software, can also be ftp'ed
  1193. >from emsworth.andrew.cmu.edu (128.2.30.62). Those with AFS access look
  1194. at /afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp.
  1195.  
  1196. Remote Andrew Demo Service 
  1197.  
  1198. This network service allows you to run Andrew Toolkit applications
  1199. without obtaining or compiling the Andrew software. You need a host
  1200. machine running X11 on the Internet. A simple "finger" command will let
  1201. you experience ATK applications firsthand. You'll be able to compose
  1202. multimedia documents, navigate through the interactive Andrew Tour, and
  1203. use the Andrew Message System to browse through CMU's three thousand
  1204. bulletin boards and newsgroups.
  1205.  
  1206. To use the Remote Andrew Demo service, run the following command:
  1207.  
  1208.     finger help@atk.itc.cmu.edu 
  1209.  
  1210. The service will give you further instructions.
  1211.  
  1212. Information Sources
  1213.  
  1214. Your bug reports are welcome; kindly send them to
  1215. info-andrew-bugs@andrew.cmu.edu and we will periodically post a status
  1216. report to the mailing list info-andrew@andrew.cmu.edu. To be added to
  1217. the mailing list or make other requests, send mail to
  1218. info-andrew-request@andrew.cmu.edu.
  1219.  
  1220. We also distribute the following related materials:
  1221.  
  1222. ATK and AMS sources and binaries on CDROM. Binaries are available
  1223. for the following system types: 
  1224.  
  1225.             IBM RiscSystem/6000 
  1226.         Sun SparcStation 
  1227.         HP 700 Series 
  1228.         DECstation 
  1229.  
  1230. ATK and AMS sources on QIC and Iotamat tapes Hardcopies of the
  1231. documentation for ATK and AMS. Introductory video tape: Welcome to
  1232. Andrew: An Overview of the Andrew System. Technical video tape: The
  1233. Andrew Project: A Session at the Winter 1988 Usenix Conference.
  1234.  
  1235. More information about these materials is available from:
  1236.  
  1237.     Information Requests
  1238.     Andrew Toolkit Consortium
  1239.     Carnegie Mellon University
  1240.     4910 Forbes Avenue, UCC 214
  1241.     Pittsburgh, PA 15213-3890
  1242.     USA
  1243.     phone: +1-412-268-6710
  1244.     fax: +1-412-621-8081
  1245.     info-andrew-request@andrew.cmu.edu
  1246.  
  1247. There is also a netnews distribution list, comp.soft-sys.andrew, which
  1248. is identical to the info-andrew list except that it does not support the
  1249. multi-media capabilities of info-andrew.
  1250.  
  1251.  
  1252. 4.21: sudo
  1253.  
  1254. The most recent of sudo is cu-sudo v1.3.1 patchlevel 2
  1255. (cu-sudo.v1.3.1pl2.tar.Z).  It support AIX 3.x.  cu-sudo is maintained
  1256. by Todd Miller <millert@cs.colorado.edu>.
  1257.  
  1258.  
  1259. 4.22: Flexfax and other fax software
  1260. From: robmack@bsc.no (Rob MacKinnon)
  1261.  
  1262. sgi.com:/sgi/fax to get FlexFax v2.2.1. It supports many types of Class
  1263. 1/2 fax modems and several UNIX systems including AIX 3.2.3 or greater. 
  1264. There is also a fax modem review document at the same site as
  1265. sgi.com:/pub/fax/bakeoff. The FlexFax related files on sgi.com are
  1266. replicated on ftp.bsc.no as well.
  1267.  
  1268. Note: FlexFax 2.4.3 can be ftp'ed from ftp.ee.lbl.gov but I don't know
  1269. if that's an upgrade from the SGI version.
  1270.  
  1271. From: michael@hal6000.thp.Uni-Duisburg.DE (Michael Staats)
  1272.  
  1273. We're using mgetty+sendfax for the basic modem I/O, I wrote a printer
  1274. backend for the modem so that users can send faxes as easy as they print
  1275. postscript. I also wrote a little X interface composer to generate a
  1276. fax form that makes sending faxes very easy. You can find these
  1277. programs at hal6000.thp.Uni-Duisburg.DE under /pub/source.
  1278.  
  1279. program                comment
  1280.  
  1281. mgetty+sendfax-0.14.tar.gz    basic modem I/O, needs hacking for AIX
  1282. X11/xform-1.1.tar.gz             small and simple X interface composer
  1283.                 with an example fax form. Needs
  1284.                 libxview.a incl. headers.
  1285. faxiobe.tar.gz            fax backend, needs configuring for
  1286.                 your local site
  1287.  
  1288. If you need a binary version of libxview.a and the headers you'll find
  1289. them under /pub/binaries/AIX-3-2/lxview.tar.gz.
  1290.  
  1291.  
  1292. 4.23: lsof
  1293. From: abe@vic.cc.purdue.edu (Vic Abell)
  1294.  
  1295. Q. How can I determine the files that a process has opened?
  1296. Q. How can I locate the process that is using a specific network address?
  1297. Q. How can I locate the processes that have files open on a file system?
  1298.  
  1299. A. Use lsof (LiSt Open Files).
  1300.  
  1301. Lsof is available via anonymous ftp from vic.cc.purdue.edu
  1302. (128.210.15.16) in pub/lsofVVVtar.Z where VVV is the version number,
  1303. currently 229.
  1304.  
  1305.  
  1306. 4.24: popper
  1307.  
  1308. The POP server is available via anonymous ftp from ftp.CC.Berkeley.EDU
  1309. (128.32.136.9, 128.32.206.12).  It is in two files in the pub directory:
  1310. a compressed tar file popper-version.tar.Z and a Macintosh StuffIt archive
  1311. in BinHex format called MacPOP.sit.hqx.
  1312.  
  1313.  
  1314. 4.26: mpeg link errors version 2.0
  1315. posted by (Nathan Lane) nathan@seldon.foundation.tricon.com 
  1316.  
  1317. .XShmCreateImage
  1318. .XShmDetach
  1319. .XShmAttach
  1320. .XShmGetEventBase
  1321. .XShmPutImage
  1322. .XShmQueryExtension
  1323.  
  1324. ... are for the Shared Memory extension of the X server.
  1325. You can either choose to build it with shared memory or without.  I
  1326. always do it without  the performance increase is not really
  1327. incredible, except on something like a 2x0 machine with the local bus
  1328. graphics adapter.  Just take out "DSH_MEM" in the CFLAGS in the
  1329. makefile for mpeg_play.  OR, build your Xserver with shared memory
  1330. (the instructions are in /usr/lpp/X11/samples/README, I believe.)
  1331.  
  1332. Also, in the module "video.c" for mpeg_play it will complain about not
  1333. having enough memory to fully optimize one of the loops.  You can get
  1334. around that by specificying "qmaxmem=8000" in your cflags line, BUT,
  1335. the extra optimization does little good in my tests.
  1336.  
  1337.  
  1338. ______________________________________________________________________________
  1339. 5.00: Third party products
  1340.  
  1341. [ Ed.: Entries in this section are edited to prevent them from looking
  1342.   like advertising. Prices given may be obsolete. Companies mentioned
  1343.   are for reference only and are not endorsed in any fashion. ]
  1344.  
  1345.  
  1346. 5.02: Disk/Tape/SCSI
  1347. From: anonymous
  1348.  
  1349. - Most SCSI disk drives work (IBM resells Maxtor, tested Wren 6&7 myself);
  1350.   use osdisk when configuring (other SCSI disk).
  1351.  
  1352. - Exabyte: Unfortunately only the ones IBM sells are working.
  1353.   A few other tape drives will work; 
  1354.   use ostape when configuring (other SCSI tape).
  1355.  
  1356. - STK 3480 "Summit": Works with Microcode Version 5.2b
  1357.  
  1358.  
  1359. From: bell@hops.larc.nasa.gov (John Bell)
  1360.                
  1361. In summary, third party tape drives work fine with the RS/6000 unless 
  1362. you want to boot from them. This is because IBM drives have 'extended 
  1363. tape marks', which IBM claims are needed because the standard marks 
  1364. between files stored on the 8mm tape are unreliable. These extended 
  1365. marks are used when building boot tapes, so when the RS/6000 boots, it 
  1366. searches for an IBM tape drive and refuses to boot without it.
  1367.  
  1368. From: jrogers@wang.com (John Rogers)
  1369.  
  1370. On booting with non-IBM SCSI tape drives: I haven't tried it myself but
  1371. someone offered:
  1372.  
  1373. Turn machine on with key in secure position.
  1374. Wait until LED shows 200 and 8mm tape has stopped loading.
  1375. Turn key to service position.
  1376.  
  1377.  
  1378. From: amelcuk@gibbs.clarku.edu (Andrew Mel'cuk)
  1379.  
  1380. The IBM DAT is cheap and works.  If you get all the patches beforehand
  1381. (U407435, U410140) and remember to buy special "Media Recognition
  1382. System" tapes (Maxell, available from APS 800.443.4461 or IBM #21F8758)
  1383. the drive can even be a pleasure to use.  You can also flip a DIP switch
  1384. on the drive to enable using any computer grade DAT tapes (read the
  1385. hardware service manual).
  1386.  
  1387. Other DAT drives also work.  I have tried the Archive Python (works) and
  1388. experimented extensively with the Archive TurboDAT.  The TurboDAT is a
  1389. very fast compression unit, is not finicky with tapes and doesn't
  1390. require the many patches that the IBM 7206 does.  Works fine with the
  1391. base AIX 3.2 'ost' driver.
  1392.  
  1393.  
  1394. From: pack@acd.ucar.edu (Daniel Packman)
  1395.  
  1396. >>You can boot off of several different brands of non-IBM Exabytes.
  1397. >>At least TTI and Contemporary Cybernetics have done rather complete
  1398. >>jobs of emulating genuine IBM products.
  1399.  
  1400. A model that has worked for us from early AIX 3.1 through 3.2 is a TTI
  1401. CTS 8210.  This is the old low density drive.  The newer 8510 is dual
  1402. density (2.2gig and 5gig).  Twelve dip switches on the back control the
  1403. SCSI address and set up the emulation mode.  These drives have a very
  1404. useful set of lights for read-outs (eg, soft error rate, tape remaining,
  1405. tape motion, etc.).
  1406.  
  1407.  
  1408. 5.03: Memory
  1409.  
  1410. I got a flyer from Nordisk Computer Services (Portland 503-598-0111, 
  1411. Seattle 206-242-7777).  Some sample prices:
  1412.  
  1413.       16 MB Upgrade Kit   $  990
  1414.       32 MB Upgrade Kit   $1,700
  1415.       64 MB Upgrade Kit   $3,300
  1416.  
  1417. 5xx machines have 8 memory slots, 3x0s have 2, and 3x5s have only one.
  1418. You need to add memory in pairs for the 5xx machines.
  1419.  
  1420. Models 220, 230 and 250 can use "PS/2" style SIMM memory.  All have 8
  1421. SIMM sockets.  60ns or better is needed for the 250, 70ns should be OK
  1422. in the 220 and 230.  The 220 and 230 are limited to 64MB of memory,
  1423. the 250 is limited to 256MB.
  1424.  
  1425.  
  1426. 5.04: Others
  1427. From: anonymous
  1428.        
  1429. IBM RISC System/6000 Interface Products
  1430.  
  1431. National Instruments Corporation markets a family of instrumentation
  1432. interface products for the IBM RISC System/6000 workstation family.  The
  1433. interface family consists of three products that give the RISC
  1434. System/6000 connectivity to the standards of VMEbus, VXIbus and GPIB. 
  1435. For more information, contact National Instruments Corporation,
  1436. 512-794-0100 or 1-800-433-3488.
  1437.  
  1438.  
  1439. 5.05: C++ compilers
  1440.  
  1441. Several C++ compilers are available. You can choose from Glockenspiel,
  1442. Greenhills, IBM's xlC (sold seperatly :), and GNU's g++. Glockenspiel
  1443. may now be part of Computer Associates. Comeau Computing
  1444. (718-945-0009) offers Comeau C++ 3.0 with Templates. For a full
  1445. development environment there's ObjectCenter's C++ (formerly Saber
  1446. C++).
  1447.  
  1448.  
  1449. 5.06: Memory leak detectors
  1450.  
  1451. IBM's xlC comes with a product called the HeapView debugger that can
  1452. trace memory problems in C and C++ code.
  1453.  
  1454. SENTINEL has full memory access debugging capabilities including detection 
  1455. of memory leaks.  Contact info@vti.com (800) 296-3000 (703) 430-9247.
  1456.  
  1457. Insight from ParaSoft (818) 792-9941.
  1458. There is also a debug_malloc posted in one of the comp.sources groups.
  1459.  
  1460. From: dad@adonis.az05.bull.com (Dave Dennerline)
  1461.   Purify from Pure software (408) 720-1600.
  1462.   TestCenter from Centerline (800) 669-2687.
  1463. Purify and TestCenter are not availible for the RS/6000 :(
  1464.  
  1465.  
  1466. 5.07: PPP
  1467.  
  1468. PPP does not come with AIX 3.2.x (only SLIP) and there isn't a version
  1469. availible for anonymous ftp.  PPP for AIX is availible for $ from
  1470. Morningstar (sales@morningstar.com or marketing@morningstar.com) (800)
  1471. 558-7872.
  1472.  
  1473.  
  1474. 5.08: Graphics adapters
  1475.  
  1476. Abstract Technologies Inc. (Austin TX, 512-441-4040, info@abstract.com)
  1477. has several high performance graphics adapters for the RS/6000.
  1478. 1600x1200, 24-bit true-color, and low cost 1024x768 adapters are
  1479. available.  Retail prices are between US$1000-2000.
  1480.  
  1481.  
  1482. 5.09: Training Courses
  1483.  
  1484. Email training@skilldyn.com with "help" in the body of the message for
  1485. information about how to receive a list course descriptions for AIX*
  1486. and/or UNIX* courses offered by Skill Dynamics.
  1487.  
  1488.  
  1489. ______________________________________________________________________________
  1490. 6.00: Miscellaneous other stuff
  1491.  
  1492. 6.01: Can I get support by e-mail?
  1493.  
  1494. AIXServ is a service tool that allows users on internet and usenet to
  1495. report problems via unix mail. AIXServ is free. To receive instructions 
  1496. on using AIXServ, send a note with "Subject: package" to one of the
  1497. following e-mail addresses:
  1498.  
  1499.     Usenet:     uunet.UU.NET!aixserv!aixbugs
  1500.     Internet:   aixbugs@austin.ibm.com     (transactions request)
  1501.                     services@austin.ibm.com    (administrivia)
  1502.                     aasc@austin.ibm.com        (test cases under 100KB)
  1503.  
  1504. Using AIXServ, customers have the ability to 1) open new problem reports,
  1505. 2) update existing problem records, and 3) request a status update on an
  1506. existing problem record. Currently this service is available to United
  1507. States customers only.
  1508.  
  1509. Canada:
  1510.  
  1511. Gary Tomic mentioned that Canadian customers can get support from their
  1512. BBS, cac.toronto.ibm.com at 142.77.253.16.
  1513.  
  1514. Germany:
  1515.  
  1516. Thomas Braunbeck reported that German customers with ESS (extended
  1517. software service) contracts can get support by e-mail too. They can 
  1518. obtain information by sending mail with Subject: help to 
  1519. aixcall@aixserv.mainz.ibm.de.
  1520.  
  1521. Various flavors of service offerings are available. Contact your IBM rep
  1522. for details.
  1523.  
  1524.  
  1525. 6.02: List of useful faxes
  1526.  
  1527. You can get some informative faxes by dialing IBM's Faxserver at
  1528. 1-800-IBM-4FAX. If you're calling for the first time, push 3 then 2 to
  1529. request a list of RS/6000 related faxes.
  1530.  
  1531. document number                       Title
  1532. ---------------  -----------------------------------------------------
  1533.      1453        Recovering from LED 518 in AIX 3.2
  1534.      1457        Recovering from LED 552 in AIX 3.1 and 3.2
  1535.      1461        Alternative Problem Reporting Methods
  1536.      1470        Recovering from LED 223/229, 225/229, 233/235, 221/229, or 221
  1537.      1537        How to Get AIX Support
  1538.      1719        Performance Analyzer/6000
  1539.      1721        Recovering from LED 553 in AIX 3.1 and 3.2
  1540.      1746        Recovering from LED 551 in AIX 3.1 and 3.2
  1541.      1755        Recovering Volume Groups
  1542.      1802        Repairing File Systems with fsck in AIX 3.1 and 3.2
  1543.      1803        How to Take a System Dump
  1544.      1804        Setting Up a Modem With the RS/6000
  1545.      1845        Using iptrace to Track Remote Print Jobs
  1546.      1867        Clearing the Queuing System
  1547.      1895        Removing/Replacing a Fixed Disk
  1548.      1896        Tape Drive Densities and Special Files
  1549.      1897        Tips on mksysb for AIX 3.2
  1550.      1909        UUCP (BNU) Helpful Information
  1551.      1910        Synchronizing Disk Names
  1552.      1988        Recovering from LED 201 in AIX 3.1 and 3.2
  1553.      1989        Recovering from LED 727 in AIX 3.2
  1554.      1991        Recovering from LED c31 in AIX 3.1 and 3.2
  1555.      2079        AIX 3.2.4
  1556.      2121        AIX 3.2.4 Installation Tips
  1557.      2267        How to reduce /usr in AIX 3.2
  1558.      2443        Man pages for AIX 3.2
  1559.      2446        How to set up sar
  1560.      2447        How to reduce /tmp
  1561.      2448        Installing a 5 GB tape drive
  1562.      2462        Bosboot diskettes
  1563.      2465        How to remove ptfs from the ODM
  1564.  
  1565. 6.03: IBM's gopher, WWW, aftp presence (as of 6/10/94)
  1566. Thanks to Ronald S. Woan <woan@austin.ibm.com>
  1567.  
  1568. aix.boulder.ibm.com        (FixDist ptfs)
  1569. software.watson.ibm.com        (rlogin fixes & more)
  1570. gopher.ibmlink.ibm.com        (anonouncements & press releases)
  1571. www.austin.ibm.com        (software, hardware, service & support)
  1572.  
  1573. General IBM information like product announcements and press releases
  1574. are available through World Wide Web at http://www.ibm.com/
  1575.  
  1576. Specific information on the RISC System/6000 product line and AIX
  1577. (highlights include marketing information, technology White Papers and
  1578. the POWER 2 technology book online before it hits the presses,
  1579. searchable APAR database and AIX support FAX tips online so you don't
  1580. have to type in all those scripts) is available at http://www.austin.ibm.com/
  1581.  
  1582.  
  1583. 6.04: Some RS232 hints
  1584. From: graeme@ccu1.aukuni.ac.nz, sactoh0.SAC.CA.US!jak
  1585.  
  1586. Q: How do you connect a terminal to the RS232 tty ports when not using
  1587.    the standard IBM cable & terminal transposer?
  1588. A: 1- Connect pins 2->3, 3->2, 7->7 on the DB25's
  1589.    2- On the computer side, most of the time cross 6->20 (DSR, DTR).
  1590.       Some equipment may require connecting 6, 8, and 20 (DSR, DCD, DTR).
  1591.  
  1592. Also, pin 1 (FG) should be a bare metal wire and the cable should be
  1593. shielded with a connection all the way through. Most people don't run
  1594. pin 1 because pins 1 & 7 (SG) are jumpered on many equipment.
  1595.  
  1596. When booting from diskettes, the port speed is always 9600 baud.  If you
  1597. use SMIT to set a higher speed (38400 is nice) for normal use, remember
  1598. to reset your terminal before booting.
  1599.  
  1600. Q: How do you connect a printer to the RS232 tty ports
  1601. A: 1- Connect pins 2->3, 3->2, 7->7 on the DB25's
  1602.    2- On the computer side, loop pins 4->5 (CTS & RTS)
  1603.  
  1604.  
  1605. 6.05  What publications are available for AIX and RS/6000?
  1606.  
  1607. The following are free just for the asking:
  1608.  
  1609. RS/Magazine
  1610.    P.O. Box 3272
  1611.    Lowell, MA 01853-9876
  1612.    e-mail: aknowles@expert.com (Anne Knowles, editor)
  1613.  
  1614. AIXpert
  1615.    IBM Corporation
  1616.    Mail Stop 36
  1617.    472 Wheelers Farms Road
  1618.    Milford, CT 06460
  1619.    FAX: (203) 783-7669
  1620.  
  1621. RiSc World
  1622.    P.O. Box 399
  1623.    Cedar Park, TX 78613
  1624.    FAX: (512) 331-3900
  1625.    Usenet: {cs.utexas.edu,execu,texbell}!pcinews!rsworld
  1626.  
  1627. These manuals should be available from your favorite IBM office.
  1628.  
  1629. SC23-2204-02  Problem Solving Guide
  1630. SC23-2365-01  Performance Monitoring and Tuning Guide for AIX 3.2
  1631. SA23-2629-07  Service Request Number Cross Reference, Ver 2.2
  1632. SA23-2631-05  Diagnostic Programs: Operator Guide
  1633. SA23-2632-05  Diagnostic Programs: Service Guide
  1634. SA23-2643-01  Hardware Technical Reference: General Information
  1635. SA23-2646-01  Hardware Technical Reference: Options and Devices
  1636.  
  1637. "Power RISC System/6000: Concepts, Facilities, Architecture", Chakravarty  
  1638.          McGraw-Hill ISBN 0070110476
  1639. "PowerPC: Concepts, Facilities, Architecture", Chakravarty/Cannon  
  1640.          McGraw-Hill ISBN 0070111928
  1641. "The Advanced Programmer's Guide to AIX 3.x", Colledge 
  1642.          McGraw-Hill ISBN 007707663X
  1643. "AIX Companion" , Cohn    
  1644.          Prentice-Hall ISBN 0132912201
  1645. "AIX for RS/6000: System & Administration Guide", DeRoest 
  1646.          McGraw-Hill ISBN 0070364397
  1647. "A Guide to AIX 3.2", Franklin
  1648.          Metro-Info Systems 05/1993
  1649. "IBM RS6000 AIX System Administration", Hollicker
  1650.          Prentice-Hall ISBN 0134526163
  1651. "IBM RISC SYSTEM/6000 - A Business Perspective", Hoskins
  1652.          John Wiley & Sons ISBN 0471599352
  1653. "The Advanced Programmer's Guide to AIX 3.x", Phil Colledge
  1654.     McGraw-Hill, 1994, ISBN: 0-07-707663-x
  1655.  
  1656.  
  1657. 6.06: Some acronyms
  1658.  
  1659. APAR - authorized program analysis report
  1660. BOS  - Basic Operating System
  1661. DCR  - design change request
  1662. LPP  - Licensed Program Product
  1663. ODM  - Object Database Manager
  1664. PRPQ - programming request for price quotation
  1665. PTF  - Program Temporary Fix
  1666. SMIT - System Management Interface Tool
  1667.  
  1668.  
  1669. 6.07: How do I get this by mailserver or ftp?
  1670.  
  1671. Since the articles are crossposted to news.answers, any archive carrying
  1672. that newsgroup will also have these articles. In particular, try
  1673. rtfm.mit.edu in the directory pub/usenet/news.answers. This FAQ is
  1674. archived as "aix-faq/part[123]".
  1675.  
  1676.  
  1677. 6.08: Hypertext version of the FAQ
  1678. From: Michael D. Fischer <greendog@max.physics.sunysb.edu>
  1679.  
  1680. Mike has converted this AIX FAQ into HTML code for use from XMosaic or
  1681. other WWW browsers. If you have XMosaic and want to take a look, the URL is
  1682.  
  1683. http://insti.physics.sunysb.edu/faq/index.html
  1684.  
  1685.  
  1686. 6.09: Where can I send suggestions for tools?
  1687.  
  1688. If you have any suggestions or comments about tools, whether currently or 
  1689. desirable to be in AIX, send a note to aix_tool_ideas@austin.ibm.com.
  1690.  
  1691.  
  1692. 6.10: Comp.unix.aix archive availible on the WWW
  1693.  
  1694. Michael Staats & Fred Hucht have informed me that a 
  1695. searchable archive of comp.unix.aix is availible at: 
  1696. http://www.thp.Uni-Duisburg.DE:/cuaix/cuaix.html.
  1697.  
  1698.  
  1699. _____________________________________________________________________________
  1700. 7.00: Contributors
  1701.  
  1702. The following persons have contributed to this list.  If you want to
  1703. contribute anonymously, just let me know - but do tell me who you are.
  1704. I apologise if I missed out anyone.
  1705.  
  1706. Thank you all, this would definitely not be the same without _your_ input.
  1707.  
  1708. Luis Basto            <basto@cactus.org>
  1709. Rudy Chukran            <chukran@austin.VNET.IBM.COM>
  1710. Christopher Carlyle O'Callaghan    <asdfjkl@wam.umd.edu>
  1711. Poul-Henning Kamp        <phk@data.fls.dk>
  1712. Richard Wendland                <richard@praxis.co.uk>
  1713. Ge van Geldorp            <ge@dutlru2.tudelft.nl>
  1714. Chris Jacobsen            <jacobsen@sbhep2.phy.sunysb.edu>
  1715. Peter Jeffe            <peter@ski.austin.ibm.com>
  1716. Jean-Francois Panisset        <panisset@thunder.mcrcim.mcgill.edu>
  1717. John Cary            <cary@boulder.colorado.edu>
  1718. Vijay Debbad            <vijay@ingres.com>
  1719. Dick Karpinski            <dick@ccnext.ucsf.edu>
  1720. Konrad Haedener            <haedener@iac.unibe.ch>
  1721. Doug Sewell            <DOUG@YSUB.YSU.EDU>
  1722. David Cordes            <cordes@athos.cs.ua.edu>
  1723. Graeme Moffat            <g.moffat@aukuni.ac.nz>
  1724. Andrew Pierce            <pierce@claven.cambridge.ibm.com>
  1725. Stephen Linam            <sdl@glasnost.austin.ibm.com>
  1726. Jerome Park            <jerome%aixserv@uunet.UU.NET>
  1727. Konrad Haedener            <haedener@iacrs1.unibe.ch> 
  1728. Steve Roseman            <lusgr@chili.CC.Lehigh.Edu>
  1729. John Burton            <burton@asdsun.larc.nasa.gov>
  1730. Thierry Forveille        <FORVEILL@FRGAG51.BITNET>
  1731. Joubert Berger            <afc-tci!joubert>
  1732. Minh Tran-Le            <tranle@intellicorp.com>
  1733. Paul Amaranth            <amaranth@vela.acs.oakland.edu>
  1734. Mark Whetzel            <markw@airgun.wg.waii.com>
  1735. Daniel Packman            <pack@acd.ucar.edu>
  1736. Ken Bowman            <bowman@uiatma.atmos.uiuc.edu>
  1737. Cary E. Burnette        <kerm@mcnc.org>
  1738. Christophe Wolfhugel        <wolf@grasp1.univ-lyon1.fr>
  1739. Leonard B. Tropiano        <lenny@aixwiz.austin.ibm.com>
  1740. Bill Wohler            <wohler@sap-ag.de>
  1741. James Salter            <jsalter@ibmpa.awdpa.ibm.com>
  1742. Witold Jan Owoc            <witold@enme.ucalgary.ca>
  1743. Marc Kwiatkowski        <marc@ultra.com>
  1744. Ronald S. Woan            <woan@austin.ibm.com>
  1745. Mijan Huq            <huq@hagar.ph.utexas.edu>
  1746. Herbert van den Bergh        <hbergh@nl.oracle.com>
  1747. Michael Stefanik        <mike@bria.UUCP>
  1748. John F. Haugh            <jfh@rpp386.cactus.org>
  1749. Ed Kubaitis            <ejk@ux2.cso.uiuc.edu>
  1750. Jaime Vazquez            <jaime@austin.vnet.ibm.com>
  1751. Bjorn Engsig            <bengsig@oracle.com>
  1752. Frank Kraemer             <kraemerf@franvm3.VNET.IBM.COM>
  1753. Andreas Siegert                 <afx@muc.ibm.de>
  1754. Thomas Braunbeck                <braunbec@aixserv.mainz.ibm.de>
  1755. Marc Pawliger            <marc@sti.com>
  1756. Mel Beckman            mbeckman@mbeckman.mbeckman.com 
  1757. _____________________________________________________________________________
  1758.  
  1759. Opinions expressed here have nothing to do with IBM or my employer (AMS)
  1760. infact most of these opinions are borrowed from other people :)
  1761.  
  1762. All trademarks are the property of their respective owners.
  1763.  
  1764. -- 
  1765. Jeff Warrington
  1766. jwarring@flaixy.fd.amsinc.com  or  a165@lehigh.edu  
  1767.  
  1768.  
  1769.